package cn.gemiman.daoyi.module.iot.service.jhlequipmentdevice;

import cn.gemiman.daoyi.framework.common.pojo.PageResult;
import cn.gemiman.daoyi.module.iot.controller.admin.jhlequipmentdevice.vo.JhlEquipmentDevicePageReqVO;
import cn.gemiman.daoyi.module.iot.controller.admin.jhlequipmentdevice.vo.JhlEquipmentDeviceSaveReqVO;
import cn.gemiman.daoyi.module.iot.dal.dataobject.jhlequipmentdevice.JhlEquipmentDeviceDO;
import jakarta.validation.Valid;

/**
 * 精华隆设备信息 Service 接口
 *
 * @author 道一源码
 */
public interface JhlEquipmentDeviceService {

    Integer asyncJhlEquipmentDevice(Integer... ids);

    /**
     * 创建精华隆设备信息
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Integer createJhlEquipmentDevice(@Valid JhlEquipmentDeviceSaveReqVO createReqVO);

    /**
     * 更新精华隆设备信息
     *
     * @param updateReqVO 更新信息
     */
    void updateJhlEquipmentDevice(@Valid JhlEquipmentDeviceSaveReqVO updateReqVO);

    /**
     * 删除精华隆设备信息
     *
     * @param id 编号
     */
    void deleteJhlEquipmentDevice(Integer id);

    /**
     * 获得精华隆设备信息
     *
     * @param id 编号
     * @return 精华隆设备信息
     */
    JhlEquipmentDeviceDO getJhlEquipmentDevice(Integer id);

    /**
     * 获得精华隆设备信息分页
     *
     * @param pageReqVO 分页查询
     * @return 精华隆设备信息分页
     */
    PageResult<JhlEquipmentDeviceDO> getJhlEquipmentDevicePage(JhlEquipmentDevicePageReqVO pageReqVO);

    Integer asyncDeleteJhlEquipmentDevice();
}
